<div id="tiga_ba">
	<div id="tiga_baa">Ubah Data Jenis kunjungan</div>
	<div id="tiga_bab"></div>
	<div class="clear"></div>
</div>
            
<?php
	$id=$_GET['id'];
	$sql="select * from jenis_kunjungan where id_jenis_kunjungan = $id";
	$qry=mysql_query($sql);
	$hasil=mysql_fetch_array($qry);
?>
<form action="utama.php?module=mod_jkunjungan&act=update" onsubmit="return gsValidate('jenis','Jenis kunjungan Harus Diisi','required');" method="post" enctype="multipart/form-data">
	<table style="margin: 10px 15px 10px 15px;">
		<tr>
			<td>Jenis kunjungan</td>
			<td>&nbsp;</td>
			<td>
				<input name="jenis" type="text" class="input2" id="jenis" maxlength="50" value="<?php echo $hasil['jenis_kunjungan']?>"/>
				<input name="id" type="hidden" id="id" value="<?php echo $hasil['id_jenis_kunjungan']?>" />
				<span class="red">*</span>
			</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
			<td><input name="submit" type="submit" class="button" value="Ubah" /></td>
		</tr>
	</table>
</form>		
            
        